Skip to content

chore(deps): update Cocoa SDK to v9.20.0#6409

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
deps/scripts/update-cocoa.sh
Draft

chore(deps): update Cocoa SDK to v9.20.0#6409
github-actions[bot] wants to merge 1 commit into
mainfrom
deps/scripts/update-cocoa.sh

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Bumps scripts/update-cocoa.sh from 9.19.1 to 9.20.0.

Auto-generated by a dependency updater.

Changelog

9.20.0

Important

This release contains an important fix for dropping too much data when the SDK gets rate limited. (#8324) This fix changes how rate limits are handled. Previously, if one data type (for example, user feedback) was rate limited, other data such as spans or sessions could also be dropped. Now, only the rate-limited data is dropped, while all other data continues to be sent. This may also reduce cases where unexpectedly large amounts of data appear to be dropped due to rate limiting.

Fixes

  • Fix rate limiting all data categories when data category rate-limit is active. (#8324)

Features

  • Record log_byte client reports (#8186)
  • Add scope feature flag API (#8147)

@github-actions github-actions Bot requested a review from alwx as a code owner July 6, 2026 12:00
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Jul 6, 2026
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Jul 6, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch from 507d83f to f774131 Compare July 6, 2026 12:01
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(deps): update Cocoa SDK to v9.20.0 by github-actions[bot] in #6409
  • fix(deps): Bump js-yaml to 3.15.0 by antonis in #6414
  • feat(ios): Consume sentry-cocoa as a prebuilt xcframework by default by alwx in #6413
  • feat(tracing): Add extend app start API for standalone app start by antonis in #6392
  • fix(ios): Skip source maps upload on Debug builds by antonis in #6405
  • fix(ci): Bump codeql-action/init to v4.36.3 to match analyze/autobuild by antonis in #6410
  • Revert "feat(ios): Default to consuming sentry-cocoa as an xcframework" (feat(ios): Default to consuming sentry-cocoa as an xcframework #6381) by alwx in #6412

🤖 This preview updates automatically when you update the PR.

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch 3 times, most recently from 4e98712 to 4a42ca3 Compare July 6, 2026 12:03
}

sentry_cocoa_version = '9.19.1'
sentry_cocoa_version = '9.20.0'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The podspec references Sentry Cocoa SDK version 9.20.0, which is not available on CocoaPods. This will cause pod install to fail for default installations.
Severity: CRITICAL

Suggested Fix

Since version 9.20.0 is not on CocoaPods, either revert the version update in the podspec to a version that is available on CocoaPods, or update the logic to make SPM the default. Alternatively, update the CI and documentation to enforce setting SENTRY_USE_SPM=1 for this and future versions.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: packages/core/RNSentry.podspec#L57

Potential issue: The pull request updates the Sentry Cocoa SDK dependency to version
9.20.0 in `RNSentry.podspec`. However, this version was not published to CocoaPods, only
to Swift Package Manager (SPM). The podspec defaults to using CocoaPods unless the
`SENTRY_USE_SPM` environment variable is explicitly set to '1'. Consequently, any user
or CI/CD process (like the `native-tests.yml` workflow) running `pod install` without
this environment variable will encounter a build failure because the specified
dependency version cannot be resolved from the CocoaPods repository.

Did we get this right? 👍 / 👎 to inform future reviews.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the Blocked label since this is blocking till the xcframeworks work replacing the cocoapod dependency land.
Also added the ready-to-merge label to see how the failure reflects on the CI checks.

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch 2 times, most recently from 9a1cdcc to abb3232 Compare July 6, 2026 14:45
@antonis antonis added Blocked ready-to-merge Triggers the full CI test suite labels Jul 6, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch from abb3232 to cde5219 Compare July 6, 2026 15:18
@antonis antonis removed the ready-to-merge Triggers the full CI test suite label Jul 6, 2026
@sentry

sentry Bot commented Jul 6, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
Sentry RN io.sentry.reactnative.sample 8.17.2 (97) Release

⚙️ sentry-react-native Build Distribution Settings

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch 3 times, most recently from cae931a to 58437c2 Compare July 7, 2026 08:20

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the ready-to-merge label just to run the full test suite now that #6413 is merged. As discussed we will delay shipping this and iterate with a follow up to #6413 that drops the fallback hack before bumping cocoa.

@antonis antonis added the ready-to-merge Triggers the full CI test suite label Jul 7, 2026
@antonis antonis marked this pull request as draft July 7, 2026 08:24
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 3833.74 ms 1218.72 ms -2615.02 ms
Size 4.98 MiB 6.47 MiB 1.50 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
580fb5c+dirty 3835.45 ms 1218.61 ms -2616.84 ms
d0e3b3e+dirty 3846.64 ms 1226.27 ms -2620.38 ms
a216cb9+dirty 3853.25 ms 1224.77 ms -2628.48 ms
37a2091+dirty 3865.27 ms 1223.92 ms -2641.35 ms
40c9884+dirty 3826.11 ms 1217.04 ms -2609.07 ms
4e0ba9c+dirty 3856.39 ms 1234.44 ms -2621.95 ms
0b5a379+dirty 3857.69 ms 1230.34 ms -2627.35 ms
68672fc+dirty 3832.22 ms 1228.29 ms -2603.93 ms
2c735cc+dirty 1223.33 ms 1224.38 ms 1.04 ms
6acdf1d+dirty 3835.35 ms 1218.30 ms -2617.06 ms

App size

Revision Plain With Sentry Diff
580fb5c+dirty 4.98 MiB 6.46 MiB 1.48 MiB
d0e3b3e+dirty 4.98 MiB 6.51 MiB 1.53 MiB
a216cb9+dirty 4.98 MiB 6.51 MiB 1.53 MiB
37a2091+dirty 5.15 MiB 6.70 MiB 1.54 MiB
40c9884+dirty 4.98 MiB 6.51 MiB 1.53 MiB
4e0ba9c+dirty 5.15 MiB 6.67 MiB 1.51 MiB
0b5a379+dirty 5.15 MiB 6.70 MiB 1.54 MiB
68672fc+dirty 5.15 MiB 6.71 MiB 1.55 MiB
2c735cc+dirty 3.38 MiB 4.74 MiB 1.35 MiB
6acdf1d+dirty 4.98 MiB 6.51 MiB 1.53 MiB

Previous results on branch: deps/scripts/update-cocoa.sh

Startup times

Revision Plain With Sentry Diff
08c933b+dirty 1204.21 ms 1217.09 ms 12.88 ms
cb5d89e+dirty 3854.04 ms 1228.56 ms -2625.48 ms
ebc61a9+dirty 3822.19 ms 1201.34 ms -2620.85 ms
58dacb0+dirty 3839.13 ms 1211.04 ms -2628.09 ms

App size

Revision Plain With Sentry Diff
08c933b+dirty 3.38 MiB 4.78 MiB 1.40 MiB
cb5d89e+dirty 5.15 MiB 6.70 MiB 1.54 MiB
ebc61a9+dirty 4.98 MiB 6.51 MiB 1.53 MiB
58dacb0+dirty 5.15 MiB 6.67 MiB 1.51 MiB

@antonis antonis removed the ready-to-merge Triggers the full CI test suite label Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author
Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against c635679

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 3838.25 ms 1219.53 ms -2618.72 ms
Size 4.98 MiB 6.47 MiB 1.50 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
d0e3b3e+dirty 3854.77 ms 1218.58 ms -2636.19 ms
5125c43+dirty 3846.45 ms 1221.12 ms -2625.32 ms
580fb5c+dirty 3836.13 ms 1218.72 ms -2617.41 ms
7887847+dirty 3849.83 ms 1227.35 ms -2622.48 ms
a216cb9+dirty 3839.33 ms 1225.26 ms -2614.07 ms
40c9884+dirty 3837.72 ms 1226.61 ms -2611.11 ms
a5d243c+dirty 3842.35 ms 1214.29 ms -2628.06 ms
f170ec3+dirty 3822.26 ms 1218.33 ms -2603.93 ms
68672fc+dirty 3841.58 ms 1228.89 ms -2612.69 ms
ae37560+dirty 3832.10 ms 1219.09 ms -2613.02 ms

App size

Revision Plain With Sentry Diff
d0e3b3e+dirty 4.98 MiB 6.51 MiB 1.53 MiB
5125c43+dirty 5.15 MiB 6.68 MiB 1.53 MiB
580fb5c+dirty 4.98 MiB 6.46 MiB 1.48 MiB
7887847+dirty 4.98 MiB 6.46 MiB 1.48 MiB
a216cb9+dirty 4.98 MiB 6.51 MiB 1.53 MiB
40c9884+dirty 4.98 MiB 6.51 MiB 1.53 MiB
a5d243c+dirty 5.15 MiB 6.68 MiB 1.53 MiB
f170ec3+dirty 5.15 MiB 6.69 MiB 1.53 MiB
68672fc+dirty 5.15 MiB 6.71 MiB 1.55 MiB
ae37560+dirty 5.15 MiB 6.70 MiB 1.54 MiB

Previous results on branch: deps/scripts/update-cocoa.sh

Startup times

Revision Plain With Sentry Diff
08c933b+dirty 1224.53 ms 1226.59 ms 2.06 ms
cb5d89e+dirty 3851.80 ms 1225.70 ms -2626.10 ms
ebc61a9+dirty 3844.58 ms 1218.91 ms -2625.67 ms
58dacb0+dirty 3849.82 ms 1228.28 ms -2621.54 ms

App size

Revision Plain With Sentry Diff
08c933b+dirty 3.38 MiB 4.78 MiB 1.40 MiB
cb5d89e+dirty 5.15 MiB 6.70 MiB 1.54 MiB
ebc61a9+dirty 4.98 MiB 6.51 MiB 1.53 MiB
58dacb0+dirty 5.15 MiB 6.67 MiB 1.51 MiB

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch from 58437c2 to c635679 Compare July 7, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Blocked dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants